<template>
    <div class="modelBox">
        <div class="modelTitle">数百企业 共同青睐</div>
        <div class="modelContent">图布斯十年风雨，和您共同成长</div>
        <div class="modelBtn">
            <div class="modelBtnBox" v-for="(item, index) in madelNum" :key="index">
                <div class="title">
                    {{ item.title }}<span>{{ item.name }}</span>
                </div>
                <div class="content">{{ item.content }}</div>
            </div>
        </div>
        <el-carousel :interval="5000" arrow="always" :autoplay="false">
            <el-carousel-item v-for="item in 4" :key="item">
                <div class="brand">foster-and-partners-gray</div>
            </el-carousel-item>
        </el-carousel>
    </div>
</template>

<script setup>
const madelNum = ref([
    {
        title: "46000+",
        name: "",
        content: "3D庭院花园设计素材",
    },
    {
        title: "36000+",
        name: "",
        content: "合作品牌、个人客户",
    },
    {
        title: "12年",
        name: "时间",
        content: "专注庭院花园设计",
    },
]);
</script>

<style lang="less" scoped>
.modelBox {
    background: var(--white);
    padding-bottom: 140px;
    .modelBtn {
        display: flex;
        justify-content: space-around;
        .modelBtnBox {
            .title {
                font-weight: 600;
                font-size: 52px;
                color: var(--green);
                line-height: 73px;
                width: 100%;
                // margin: 49px 160px 0 ;
                margin-top: 49px;
                span {
                    font-size: 24px;
                }
            }
            .content {
                font-weight: 400;
                font-size: 18px;
                color: var(--writLightSix);
                line-height: 25px;
                // margin: 0 160px;
            }
        }
    }
}
.brand {
    margin-top: 80px;
    margin-left: 90px;
}
.el-carousel {
    width: 1350px;
    height: 296px;
    background: #ffffff;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    margin: auto;
    margin-top: 60px;
}
:deep(.el-carousel__arrow) {
    background-color: var(--opaque);

    background-image: url("/assets/svg/tubusi_w_index_arrow_l.svg");
    background-repeat: no-repeat;
    background-size: 30px 30px;
    margin-left: 10px;
    background-position: center center;
}
:deep(.el-carousel__arrow--right) {
    background-color: var(--opaque);

    background-image: url("/assets/svg/tubusi_w_index_arrow_r.svg");
    background-repeat: no-repeat;
    background-size: 30px 30px;
    margin-right: 10px;

    background-position: center center;
}
:deep(.el-carousel__arrow .el-icon) {
    display: none;
}

.el-carousel__item:nth-child(2n) {
    // background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n + 1) {
    // background-color: #d3dce6;
}
.modelTitle {
    font-weight: 600;
    font-size: 40px;
    color: var(--black);
    line-height: 56px;
    width: 100%;
    padding-top: 140px;
    box-sizing: border-box;
    text-align: center;
}
.modelContent {
    width: 100%;
    font-weight: 400;
    font-size: 20px;
    color: var(--black);
    line-height: 28px;
    text-align: center;
    margin-top: 16px;
}
</style>
